package com.printeverywhere.dto;

import com.printeverywhere.util.AdminConstants;
import com.printeverywhere.util.AttributeConstants;
import com.printeverywhere.util.StrutsFilterDispacher;



/**
 * Itemtype entity. @author MyEclipse Persistence Tools
 */

public class Itemtype  implements java.io.Serializable {


    // Fields    

     private Integer id;
     private String type;
     private String description;
     private Integer width;
 	 private Integer height;
 	 private Integer itemsInList;
 	 private Integer homepageColumns;
 	 private String defaultItems = AdminConstants.NODATA;


    // Constructors

    /**
	 * @return the width
	 */
	public Integer getWidth() {
		return width;
	}


	/**
	 * @param width the width to set
	 */
	public void setWidth(Integer width) {
		this.width = width;
	}


	/**
	 * @return the height
	 */
	public Integer getHeight() {
		return height;
	}


	/**
	 * @param height the height to set
	 */
	public void setHeight(Integer height) {
		this.height = height;
	}


	/**
	 * @return the itemsInList
	 */
	public Integer getItemsInList() {
		return itemsInList;
	}


	/**
	 * @param itemsInList the itemsInList to set
	 */
	public void setItemsInList(Integer itemsInList) {
		this.itemsInList = itemsInList;
	}


	/**
	 * @return the homepageColumns
	 */
	public Integer getHomepageColumns() {
		return homepageColumns;
	}


	/**
	 * @param homepageColumns the homepageColumns to set
	 */
	public void setHomepageColumns(Integer homepageColumns) {
		this.homepageColumns = homepageColumns;
	}


	/**
	 * @return the defaultItems
	 */
	public String getDefaultItems() {
		return defaultItems;
	}


	/**
	 * @param defaultItems the defaultItems to set
	 */
	public void setDefaultItems(String defaultItems) {
		this.defaultItems = defaultItems;
	}


	/**
	 * @param id
	 * @param type
	 * @param description
	 */
	public Itemtype(Integer id, String type, String description) {
		super();
		this.id = id;
		this.type = type;
		this.description = description;
	}


	/**
	 * @param type
	 * @param description
	 */
	public Itemtype(String type, String description) {
		super();
		this.type = type;
		this.description = description;
	}


	/**
	 * @return the description
	 */
	public String getDescription() {
		return description;
	}


	/**
	 * @param description the description to set
	 */
	public void setDescription(String description) {
		this.description = description;
	}


	/** default constructor */
    public Itemtype() {
    }

    
    /** full constructor */
    public Itemtype(String type) {
        this.type = type;
    }

   
    // Property accessors

    public Integer getId() {
        return this.id;
    }
    
    public void setId(Integer id) {
        this.id = id;
    }

    public String getType() {
        return this.type;
    }
    
    public void setType(String type) {
        this.type = type;
    }


	/**
	 * @param id
	 */
	public Itemtype(Integer id) {
		super();
		this.id = id;
	}
   


	





}